<template>
  <ul>
    <li v-for="(item,index) in datalist" :key="index">{{item}}</li>
  </ul>
</template>

<script>

import {mapState} from 'vuex'

export default {

  computed:{
    ...mapState(['datalist'])
  }
  
}
</script>

